package com.javaweb.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.javaweb.admin.entity.KdlInventory;
import com.javaweb.admin.entity.KdlInventoryDay;
import com.javaweb.admin.query.KdlInventoryQuery;
import com.javaweb.admin.vo.kdlinventory.KdlInventoryVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface KdlInventoryMapper extends BaseMapper<KdlInventory> {
    IPage<KdlInventoryVo> getKdlInventory(IPage<KdlInventoryVo> page, @Param("req") KdlInventoryQuery req);
    @Select("select * from kdl_inventory")
    List<KdlInventoryDay> getList();
}
